import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js'


//提供调用分页查询接口的函数
export const warningPageQueryService = (params)=>{
    return request.get('/admin/warning/page',{params: params});
}

//获取信息
export const warningGetService = (id)=>{
    return request.get('/admin/warning/' + id)
}
